// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.form-bottom-zero {
  .el-form-item {
    margin-bottom: 0;
  }
}

.scrollbar-wrapper {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

//.el-dialog:not(.is-fullscreen) {
//  margin-top: 6vh !important;
//}

.el-table {
  .el-table__header-wrapper, .el-table__fixed-header-wrapper {
    th {
      word-break: break-word;
      background-color: #f8f8f9;
      color: #515a6e;
      height: 30px;
      font-size: 16px;
      padding: 0;
    }
  }
}

.el-table .fixed-width .el-button--mini {
  color: #409EFF;
  padding-left: 0;
  padding-right: 0;
  width: inherit;
}

.el-tree-node__content > .el-checkbox {
  margin-right: 8px;
}

.el-card__header {
  padding: 14px 15px 7px;
  min-height: 40px;
}


//2020-12-11修改表格样式
.el-table--border:after,
.el-table--group:after,
.el-table:before {
  background-color: #ccc;
}

.el-table--border,
.el-table--group {
  border-color: #ccc;
}

.el-table td,
.el-table th.is-leaf {
  border-bottom: 1px solid #ccc;

}

.el-table--border th,
.el-table--border th.gutter:last-of-type {
  border-bottom: 1px solid #ccc;
}

.el-table--border td,
.el-table--border th {
  border-right: 1px solid #ccc;
}

//奇偶行
.el-table tr:nth-of-type(even) {
  td {
    background: #F8FCFF;
  }
}

// 鼠标悬浮
.el-table {
  tbody tr {
    &:hover {
      td {
        background-color: #DEEEFE !important;
        //color: white!important;
      }
    }
  }
}

.el-table__row.hover-row td {
  background-color: #DEEEFE !important;
  //color: white!important;
}

//表头
.el-table tr th {
  //background: #f6fcf5 !important;
  background: #3C86EF !important;
  color: #ffffff !important;
}

//
.timePickerHour {
  .el-time-spinner__wrapper {
    width: 100% !important;
  }


  .el-scrollbar:nth-of-type(2) {
    display: none;
  }
}

//修改表头错位
.el-table th.gutter {
  display: table-cell !important;
}

.mainPadding {
  padding: 24px 24px 0 24px;

}

// 日期选择隐藏清空
.el-picker-panel__footer .el-picker-panel__link-btn.el-button--text {
  display: none;
}

// 搜素卡片样式
.searchCard {

  .el-form-item__content .el-range-editor {
    width: 360px;
  }

  .el-input__inner {
    width: 190px;
  }

  .el-form-item__label {
    color: #6c7489;
  }

  .el-form-item {
    margin-right: 56px;
    margin-bottom: 24px;
  }

  padding: 24px 24px 0px 56px;

  .el-card__body {
    display: flex;
    position: relative;
    padding: 0;
  }

  .searchParameter {
    width: 65%;
  }

  .searchBtn {
    width: 36%;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 0;

    .styleBtn {
      margin-bottom: 24px;

      //.el-button {
      //  width: 80px;
      //  height: 40px;
      //}
    }
  }
}

// 表格
.table-container {
  width: 100%;
  margin-top: 16px;
}

// 字体
.font_color_base {
  color: #A6A6A6;
}
.font_color_f {
  color: #FFFFFF;
}
.font_color_blue {
  color: #3C86EF

}

.font_color_red {
  color: #C93939

}

.font_align_l {
  text-align: left;
}

.font_align_c {
  text-align: center;
}

.pointer {
  cursor: pointer;
}

.font_align_r {
  text-align: right;
}

.f14 {
  font-size: 14px;
}

.f16 {
  font-size: 16px;
}

.f18 {
  font-size: 18px;
}

.f28 {
  font-size: 28px;
}
.f32 {
  font-size: 32px;
}

.fw {
  font-weight: bold;
}

.f_lh2 {
  line-height: 2;
}

.f_nowrap {
  white-space: nowrap;
}

// 定位居中
.po_center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.po_left {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}

.po_top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}


/*
弹框
 */
.el-dialog__header {
  background: #0000BA;
  .el-dialog__title {
    color: #FFFFFF;

  }
}
.el-dialog__close {
  color: #FFFFFF !important;
}
.el-dialog__body {
  background: #eff2f4;
}
